﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ARSS.Host.Visual
{
	/// <summary>
	/// Interaction logic for RecordWindow.xaml
	/// </summary>
	public partial class RecordWindow : Window
	{
		public RecordWindow()
		{
			this.InitializeComponent();
			
		}

		private void OKButton_Click(object sender, System.Windows.RoutedEventArgs e)
		{
            this.DialogResult = true;
		}

		private void TitleTextBox_TextChanged(object sender, System.Windows.Controls.TextChangedEventArgs e)
		{
            OKButton.IsEnabled = TitleTextBox.Text.Length > 0;
		}
	}
}